package com.bwie.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 商品表
 * @TableName t_prod
 */
@TableName(value ="t_prod")
@Data
public class ProdVo implements Serializable {
    /**
     * 商品分类
     */
    private Integer prodType;

    /**
     * 商品名称
     */
    private String prodName;

    private Integer prodId;

    private String prodSpu;

    private String keyWord;

    @NotNull(message = "页码不能为空")
    private Integer pageNum;

    @NotNull(message = "每页显示数量不能为空")
    private Integer pageSize;
}